<?php


namespace app\controller;


use think\Controller;
use think\facade\Url;

class Collect extends Controller
{

  public function index(){
      //return Url::build('Blog/create');
      //return Url::build('Blog/read','id=5&uid=10');
//      return Url::build('Blog/read',['id'=>5,'uid'=>10]);
      return Url::build('Blog/read?id=6&uid=10#name ','','html');
      return 'index';
  }
  public function read($id){
      echo $this->request->param('flag');
      return 'read id:'.$id;
  }
  public function who($name){
      return 'your name is '.$name;
  }
  public function edit($id){
      return 'edit id:'.$id;
  }
}